﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="BlogDataFilter.ascx.cs" Inherits="blackhouse.StareKino.Web.Events.BlogDataFilter" %>
<div id="blogFilter">
    <asp:Repeater runat="server" ID="rptYears">
        <HeaderTemplate>
            <ul>
                <li class="label">Rok:</li>
        </HeaderTemplate>
        <ItemTemplate>
            <li<%#((bool)Eval("IsActive"))?" class='active'":"" %>><a href="<%#Eval("Url") %>" title="<%#Eval("Title") %>"><%#Eval("Name") %></a>
            </li>
        </ItemTemplate>
        <FooterTemplate>
            </ul>
        </FooterTemplate>
    </asp:Repeater>
    <asp:Repeater runat="server" ID="rptMonths">
        <HeaderTemplate>
            <ul>
                <li class="label">Miesiąc:</li>
        </HeaderTemplate>
        <ItemTemplate>
            <li<%#((bool)Eval("IsActive"))?" class='active'":"" %>><a href="<%#Eval("Url") %>" title="<%#Eval("Title") %>"><%#Eval("Name") %></a>
            </li>
        </ItemTemplate>
        <FooterTemplate>
            </ul>
        </FooterTemplate>
    </asp:Repeater>
</div>
